#!/bin/bash
##################################################################
# File: save_checkpoint.sh
# Co: The Neurosciences Institute
# Author: Richard G. Martin
# Purpose: Restores checkpoint files from a target directory.
#################################################################

target_dir=$1 #read in directory where *.dyn files are stored

#Copy Files to current directory
cp $target_dir/*.dyn .
cp $target_dir/circuits.mat checkpoint_circuits.mat
